package com.jzl.swing.dao;

import java.sql.SQLException;
import java.util.List;

import com.jzl.swing.entity.Supplier;

public interface SupplierDao {
	public abstract int add(Supplier supplier)throws SQLException;
	public abstract int delete(Supplier supplier)throws SQLException;
	public abstract int modify(Supplier supplier)throws SQLException;
	public abstract List<Supplier> queryAll()throws SQLException;
	public abstract Supplier queryById(String supplier_id)throws SQLException;
	public abstract List<Supplier> queryByName(String Supplier_name)throws SQLException;
	
}
